package com.dongdongkeji.base.exceptions;

/**
 * Created by jainc on 2016/8/28.
 */
public class ApiException extends RuntimeException {

    private int errorCode;

    public ApiException(int errorCode, String errorMsg){
        super(errorMsg);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
